package com.college.mapper;

import com.college.entity.CourseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 课程信息 Mapper 接口
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Mapper
public interface CourseInfoMapper extends BaseMapper<CourseInfo> {
    @Select("select * from course_info where course_number = #{courseNumber}")
    CourseInfo getCourseInfoByCourseNumber(String courseNumber);
}
